package Assignment03;

public class Address {
	private String address;
	private String city;
	private String state;
	private int zip;
	
	
	public Address(String address, String city, String state, int zip)
	{
		
		this.address = address;
		this.city = city;
		this.state = state;
		this.zip = zip;
	}
	
	public Address()
	{
		this.address = null;
		this.city = null;
		this.state = null;
		this.zip = 0;
	}
	public String toString()
	{	
		return this.address.toUpperCase()
		+ "\n" + this.city.toUpperCase()
		+ ", " + this.state.toUpperCase()
		+ " " + this.zip;
	}
	
	
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public int getZip() {
		return zip;
	}
	public void setZip(int zip) {
		this.zip = zip;
	}
}
